﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;

namespace XNAGameFeatures.BasicGame.Screens
{
    /// <summary>
    /// Base class for a menu in game.
    /// </summary>
    public abstract class MenuScreen : Screen
    {
        protected static ContentManager Content = null;

        /// <summary>
        /// Loads the content.
        /// </summary>
        public override void LoadContent()
        {
            base.LoadContent();

            if (Content == null)
                Content = ScreenManager.Game.Content;
        }

    }
}
